package com.hsgene.product.condition;

import java.io.Serializable;

/**
 * 商品查询条件
 *
 * @author wangbing
 * @version 1.0, 2018/10/11
 */
public class CommodityCondition implements Serializable {

    private static final long serialVersionUID = 4292233463690515418L;

    /**
     * 搜索关键字（按名称模糊搜索）
     */
    private String searchKey;

    /**
     * 商品分类id
     */
    private String commodityCategoryId;

    /**
     * 客户端（当前指小程序）商品分类：new-新品，hot-热卖，为空表示全部
     */
    private String clientCommodityType;

    /**
     * 上架状态(0-下架  1-上架）
     */
    private Integer shelfStatus;

    /**
     * 状态（0-待补充  1-未使用  2-已使用）
     */
    private Integer status;

    /**
     * 检测机构id
     */
    private String agencyId;

    /**
     * 购买数量排序
     */
    private String purchaseAmountSort;

    /**
     * 套餐价格排序
     */
    private String showPriceSort;

    /**
     * 最后修改时间排序
     */
    private String updateDateTimeSort;

    /**
     * 业务数据逻辑删除 0-代表未删除   1-代表删除
     */
    private Integer deleteFlag;

    public String getSearchKey() {
        return searchKey;
    }

    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }

    public String getCommodityCategoryId() {
        return commodityCategoryId;
    }

    public void setCommodityCategoryId(String commodityCategoryId) {
        this.commodityCategoryId = commodityCategoryId;
    }

    public String getClientCommodityType() {
        return clientCommodityType;
    }

    public void setClientCommodityType(String clientCommodityType) {
        this.clientCommodityType = clientCommodityType;
    }

    public Integer getShelfStatus() {
        return shelfStatus;
    }

    public void setShelfStatus(Integer shelfStatus) {
        this.shelfStatus = shelfStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAgencyId() {
        return agencyId;
    }

    public void setAgencyId(String agencyId) {
        this.agencyId = agencyId;
    }

    public String getPurchaseAmountSort() {
        return purchaseAmountSort;
    }

    public void setPurchaseAmountSort(String purchaseAmountSort) {
        this.purchaseAmountSort = purchaseAmountSort;
    }

    public String getShowPriceSort() {
        return showPriceSort;
    }

    public void setShowPriceSort(String showPriceSort) {
        this.showPriceSort = showPriceSort;
    }

    public String getUpdateDateTimeSort() {
        return updateDateTimeSort;
    }

    public void setUpdateDateTimeSort(String updateDateTimeSort) {
        this.updateDateTimeSort = updateDateTimeSort;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
